// js 强类型语言不一样的地方
const runner = ['发哥', 123, 5.5 , 3, 6, 35]
//拿到名字，号码，余下所有成绩
// ... : rest运算符
const [name , number,...runs ] = runner;//解构
console.log(name,number,runs)
const team = ['Web','Kait','Liux','Sheena','fvdv'];
const [captain, assistrant,...players] = team
console.log(captain,assistrant,players);
console.log(players,...players)//折叠，展开
